const mongoose = require('mongoose');
// 创建Schema对象
const Schema = mongoose.Schema
var schema = new Schema({
    name: {
        type: String,
        // default: 'female', //默认为female
    },
    icon: { type: String, },
    // parent: { type: mongoose.SchemaTypes.ObjectId, ref: "Item" }
});

// exports.model = stuModel
module.exports = mongoose.model('Item', schema);